/**********************************************************/
/* Goblin Defense - A tower defense game for Wii Homebrew */
/* Copyright (C) 2009 Ricardo Bueno Cordeiro              */
/* Licensed under de GNU General Public License v2.0      */
/*   See license_gplv2.txt for detalis                    */
/**********************************************************/

#ifndef __WEAPON_ROCK_H_
#define __WEAPON_ROCK_H_

#include <gccore.h>

#include "../weapon.h"

class WeaponRock : public Weapon {
private:
	f32 x, y;
	f32 vx, vy;
	int removable;

public:
	WeaponRock(f32 xp, f32 yp, f32 dxp, f32 dyp);

	void draw();
	void update(u32 step);
	int remove();

	f32 get_x();
	f32 get_y();
	f32 get_radius();

	int get_area_type();;
	void pony_near_by(Game *game, Pony *pony);
};

#endif
